//
//  GUATool.h
//  ShenghuoJia
//
//  Created by Guava on 15/12/16.
//  Copyright © 2015年 YongHui. All rights reserved.
//

#import <Foundation/Foundation.h>
@import UIKit;

@interface GUATool : NSObject

+(void)showDialog:(NSString*)title message:(NSString*)message waitingTime:(NSTimeInterval)time;

+(CGFloat)calculateLabelHeightWithWidth:(CGFloat) widthOfLabel
                            contentText:(NSString *) content
                                   font:(UIFont *)contentFont;

+ (BOOL)checkUserIdCard: (NSString *) idCard;
+ (BOOL)simpleYHCard:(NSString *)num;
+ (BOOL)simpleCellphoneNumberCheck:(NSString *)cellNumber;
+ (BOOL)isEmptyString:(NSString *)aString;

+ (NSData *)dataWithImage:(UIImage *)image;
+ (BOOL)valiMobile:(NSString *)mobile;
+ (NSString *)stringFromHTMLString:(NSString *)HTMLString;
@end
